defmodule ImportUtil do
    @moduledoc false

    def web_base do
        quote do
            import WebReply, only: [return: 4, return: 3, debug_return: 3]
            import ErrCode
            import CheckUtil
            import Pango.SwarmUtil
            import Util
            #            import LabConstant
            import SyntaxMacro
        end
    end


    def calc_base do
        quote do
            import ErrCode
            import Util
            import PrivateCandy
        end
    end

    def test_base do
        quote do
            import Util
            import Random
            import PrivateCandy
        end
    end

    defmacro __using__(which) when is_atom(which) do
        apply(__MODULE__, which, [])
    end


end
